package com.wl.week_01.Producer_Consumer;

/**
 * 产品类
 * @author TaiZai
 * @data 2024/9/30 16:19
 */
public class Product {
    private String productName;

    @Override
    public String toString() {
        return "Product{" +
                "productName='" + productName + '\'' +
                '}';
    }

    public Product(String productName) {
        this.productName = productName;
    }

    public Product() {}

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }
}
